package com.hetao.xx.orm;


import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.Date;


@DatabaseTable(tableName = "user_info")
public class UserVo {

    public UserVo() {
    }

    @DatabaseField(generatedId = true)//绑定字段
    public int id;
    @DatabaseField(columnName = "name", canBeNull=true, unique = true)
    public String name;
    @DatabaseField(columnName = "hp")
    public int Hp;
    @DatabaseField(columnName = "mp")
    public int Mp;
    @DatabaseField(columnName = "attack")
    public int attack;
    @DatabaseField(columnName = "defence")
    public int defence;
    @DatabaseField(columnName = "speed")
    public int speed;
    @DatabaseField(columnName = "wuxing")
    public int wuxing;
    @DatabaseField(columnName = "gengu")
    public int gengu;
    @DatabaseField(columnName = "fuyuan")
    public int fuyuan;
    @DatabaseField(columnName = "money")
    public int money;
    @DatabaseField(columnName = "day")
    public int day;
    @DatabaseField(columnName = "place_id")
    public int placeId;
    @DatabaseField(columnName = "experience")
    public int experience;
    @DatabaseField(columnName = "hole_level")
    public int holeLevel;
    @DatabaseField(columnName = "is_exercise")
    public boolean isExercise;
    @DatabaseField(columnName = "exercise_start")
    public Date exerciseStart;
    @DatabaseField(columnName = "userLevel")
    public int userLevel;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHp() {
        return Hp;
    }

    public void setHp(int hp) {
        Hp = hp;
    }

    public int getMp() {
        return Mp;
    }

    public void setMp(int mp) {
        Mp = mp;
    }

    public int getAttack() {
        return attack;
    }

    public void setAttack(int attack) {
        this.attack = attack;
    }

    public int getDefence() {
        return defence;
    }

    public void setDefence(int defence) {
        this.defence = defence;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public int getWuxing() {
        return wuxing;
    }

    public void setWuxing(int wuxing) {
        this.wuxing = wuxing;
    }

    public int getGengu() {
        return gengu;
    }

    public void setGengu(int gengu) {
        this.gengu = gengu;
    }

    public int getFuyuan() {
        return fuyuan;
    }

    public void setFuyuan(int fuyuan) {
        this.fuyuan = fuyuan;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getPlaceId() {
        return placeId;
    }

    public void setPlaceId(int placeId) {
        this.placeId = placeId;
    }

    public int getExperience() {
        return experience;
    }

    public void setExperience(int experience) {
        this.experience = experience;
    }

    public int getHoleLevel() {
        return holeLevel;
    }

    public void setHoleLevel(int holeLevel) {
        this.holeLevel = holeLevel;
    }

    public boolean isExercise() {
        return isExercise;
    }

    public void setExercise(boolean exercise) {
        isExercise = exercise;
    }

    public Date getExerciseStart() {
        return exerciseStart;
    }

    public void setExerciseStart(Date exerciseStart) {
        this.exerciseStart = exerciseStart;
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
    }
}
